package com.customer.util;

import com.customer.model.User;

public class CustomerUtil 
{
  
	public static boolean isAdmin(User user)
	{
		boolean flag = false;
		if(user != null)
		{
			if(user.getType().intValue() == 1)
			{
				flag = true;
			}
		}
		return flag;
	}
}
